package com.example.goods_manage.mapper;

import com.example.goods_manage.dto.Goods;

import java.util.List;
import java.util.Map;

/**
 * <P> @Author: SongKeCheng
 * <P> Description:
 * <P> Type: Interface
 * <P> Date: 2024/7/18:15:20
 */

public interface GoodsMapper {
    List<Goods> findGoods(Goods goods);

    public int insertSelective(Goods goods);

    int updateByPrimaryKeySelective(Goods goods);

    int deleteByPrimaryKey(Integer id);

    List<Map> retrievalGoodsName(String goodsName);
}
